<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>SOS</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  	<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
  	<script type="text/javascript" src="js/sos.js"></script>
  	<script type="text/javascript">
  
  
	</script>
  </head>
  
  <body>
    
    <form action="/sos/sos" method="post" style="display:none">&nbsp;&nbsp; 
    	 
		soName:<input type="text" name="soName"><br/>
		soLat:<input type="text" name="soLat"><br/>
		soLon:<input type="text" name="soLon"><br/>
		soAddress:<input type="text" name="soAddress"><br/>
		soUserPhone:<input type="text" name="soUserPhone"><br/>
		soPhoneId:<input type="text" name="soPhoneId"><br/>
		
    	<input type="submit" value="求救">
    </form>
    
    <a href="login.jsp">登录</a>
    <a onclick="getList()">查看所有</a>
    <p id="search" style="display:none">
    	电话号码:<input id="phone" name="phone" type="text">
    	<input type="button" value="查询" onclick="getByPhone()">
    </p>
    <table id="solist">
    </table>
  </body>
</html>
